home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / LANDER1B.ZIP / readme.txt < prev   
Text File  |  1996-12-27  |  5KB  |  88 lines

  1. Hello world,
  2.  
  3.  
  4. Well this is it!! My very first game!! Oh boy! Oh boy!
  5.  
  6. To those of you just starting out in game programming...  All of this code
  7. is FREE!!!  Please take it, play with it, improve it, and most of all LEARN
  8. as much as you can from it.  Even if you learn what NOT to do.  Lander is
  9. not the ideal game design.  It is not fast, nor is it on the cutting edge,
  10. in fact Lander is written at a amateur's level as far as game programming
  11. is concerned.  I wrote Lander while learning game programming so it was
  12. written by a amateur GAME programmer.  I've been writing code for over 10
  13. years, however, I haven't been writing game code for very long.  So how can
  14. you learn from code written by a amateur game programmer?  Simple, it was
  15. written using all the basics of game design, and if you haven't learned the
  16. basics of game programming then you CAN learn from this code.  Lander
  17. utilizes the following techniques:
  18.  
  19. Mode 13h. 320 by 200 with 256 colors.
  20. Bit Blitting.
  21. Text Blitting.
  22. Double Buffering.
  23. PCX file routines.
  24. Color palette programming.
  25. Interrupt Hooking and Interrupt Service Routines.
  26.  
  27.  
  28. The Bit Blitting routines, as well as some of the PCX code was adapted from
  29. the book "Tricks of the Game Programming Gurus" by Andre LaMothe.  If you
  30. are just starting out then I HIGHLY recommend Gurus as well as "Teach
  31. Yourself Game Programming in 21 Days".  Some say the books aren't that
  32. great, however, I have learned more from "Tricks of the Game Programming
  33. Gurus" and "Teach Yourself Game Programming in 21 Days" than I have from
  34. any other source.  Anywhere!  They are great for the beginner.
  35.  
  36. I wrote Lander while learning game design and game programming.  Lander is
  37. written in C and assembler and is commented A LOT!  I comment my code as
  38. well as I can, it helps when I have to leave the code for a while then come
  39. back later.  Lander is not an original idea I know, however, I didn't write
  40. it to get rich or to come out with a killer new game.  Lander was written
  41. for one reason, to help me learn game programming and to apply what I have
  42. learned about game development.  Most of the code is straight forward and
  43. should be easy to follow.  If you have any question on why I did something
  44. just send me an e-mail.
  45.  
  46. I wrote and compiled Lander using Visual C++ 1.5 using the large memory
  47. model and it seems to run on most systems, Windows 95 did complain once or
  48. twice but that's about it.  I built it in debug mode due to a bug when
  49. built in release mode.  I'll fix that when I can.  You'll notice that the
  50. game was written from 6-95 to 10-96, it didn't take that long to write,
  51. it's just that I kept getting side tracked then coming back.  There's about
  52. 2947 lines of code in all. Lander still isn't really finished, it doesn't
  53. get harder as the levels progress and there's no sound, but it's free and
  54. simple to play with.
  55.  
  56. If you have any suggestions or ideas on the overall design then let me
  57. know.  I'd like to learn faster bit blitting techniques other that just
  58. doing word writes instead of byte writes and other then sprite compiling.
  59. I could use some input on overall program design, like ratios of getting
  60. user input, to updating the screen, to how many times the main loop runs.
  61. Many of my questions lie in the realm of the design of the overall game.
  62. I'd like to learn more about where I should put the code to update the
  63. sprites, get user input, move things around, and so on.  I'm just not sure
  64. exactly when or how often I should do these things.  I'm working with
  65. DirectX 3 now and overall game design would apply just the same with
  66. DirectX as it would with Lander.  It does matter how you look, move, and
  67. blit, however, it also matters when and how often you do it.
  68.  
  69. I would like to thank Mark Fickley.  I think he's the heart of most of my
  70. obsessions, he plants the seed of a new idea or hobby then sits back and
  71. enjoys watching me burn the candle at both ends mastering it.  Then of
  72. course I can tell him how to do it. <just kidding Mark>  Thanks for every-
  73. thing.
  74. Thanks to Andre for writing Gurus and 21 Days, Hey Andre drop me a line
  75. and say hi.
  76.  
  77. I'm working on converting Lander to C++, if you want the code just e-mail
  78. me.  Send me an e-mail telling me what you think, it'll only take a second.
  79. Let me know if you like the code, what you think, if you learn from it.
  80. OH yeah, and drop me a line and let me know what country you're in, I'd love
  81. to know how far Lander has traveled. (no pun intended)
  82.  
  83. Thanks,
  84. Joe Lambert
  85. joe.lambert@mail.mei.com
  86.  
  87.  
  88.